using Newtonsoft.Json;

namespace my_newconsole.Report;

/// <summary>
/// 下肢动脉CTA
/// </summary>
public class XZDM_Structural : Base_Structural
{
    public static List<IndexItem> Indexs { get; set; }

    static XZDM_Structural()
    {
        var json = File.ReadAllText("./ReportJson/XZDM.json");
        Indexs = JsonConvert.DeserializeObject<List<IndexItem>>(json);
        Indexs.ForEach(a => a.Code = "XZDM-" + a.Sort);
    }

    public XZDM_Structural(HISRISReportDTO report)
        : base(report) { }
    public override List<IndexItem> GetIndexs()
    {
        return Indexs;
    }
}
